
try{
	
object = util.getById(classe,id);
}catch(Throwable t)
{
	println "instance not found for class " + classe  + " with id = " + id;
	throw new SimpleException("invalid id indicated - " + id);
}


if(object == null){
	println "instance not found for class " + classe  + " with id = " + id;
	throw new SimpleException("invalid id indicated - " + id);
}


